Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remark-gfm

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-gfm

remark plugin to support GFM (autolink literals, strikethrough, tables, tasklists)

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.8M
decreased by-27.21%
Maintainers
1
Weekly downloads
 
Created

What is remark-gfm?

The remark-gfm npm package is a plugin for remark, a markdown processor powered by plugins part of the unified collective. It adds support for GitHub Flavored Markdown (GFM) to remark, enabling additional syntax features that are commonly used on GitHub.

What are remark-gfm's main functionalities?

Table

Enables support for GFM tables, allowing you to create tables in markdown.

const remark = require('remark');
const gfm = require('remark-gfm');

remark().use(gfm).processSync('| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |').toString();

Strikethrough

Adds the ability to use strikethrough text using double tildes (~~).

const remark = require('remark');
const gfm = require('remark-gfm');

remark().use(gfm).processSync('~~Strikethrough~~').toString();

Tasklist

Supports task lists with checkboxes, a common feature in GitHub issue and pull request comments.

const remark = require('remark');
const gfm = require('remark-gfm');

remark().use(gfm).processSync('- [ ] todo item
- [x] done item').toString();

Autolink Literals

Automatically converts URLs and email addresses into links.

const remark = require('remark');
const gfm = require('remark-gfm');

remark().use(gfm).processSync('Autolink: https://example.com').toString();

Other packages similar to remark-gfm

Keywords

FAQs

Package last updated on 04 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc